﻿//-----------------------------------------------------------------------
// <copyright file="MimeTypeNames.cs" company="Andrew Oakley">
//     Copyright (c) 2010 Andrew Oakley
//     This program is free software: you can redistribute it and/or modify
//     it under the terms of the GNU Lesser General Public License as published by
//     the Free Software Foundation, either version 3 of the License, or
//     (at your option) any later version.
//
//     This program is distributed in the hope that it will be useful,
//     but WITHOUT ANY WARRANTY; without even the implied warranty of
//     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//     GNU Lesser General Public License for more details.
//
//     You should have received a copy of the GNU Lesser General Public License
//     along with this program.  If not, see http://www.gnu.org/licenses.
// </copyright>
//-----------------------------------------------------------------------

namespace Silverlight.Media
{
    /// <summary>
    /// Specifies media type information for HTTP responses.
    /// </summary>
    public static class MimeTypeNames
    {
        /// <summary>
        /// Specifies the type of audio in an HTTP response.
        /// </summary>
        public static class Audio
        {
            /// <summary>
            /// Specifies the audio data is in AAC+ format.
            /// </summary>
            public const string Aacp = "audio/aacp";

            /// <summary>
            /// Specifies the audio data is in MPEG format.
            /// </summary>
            public const string Mpeg = "audio/mpeg";

            /// <summary>
            /// Specifies the data is a PLS playlist.
            /// </summary>
            public const string Pls = "audio/x-scpls";

            /// <summary>
            /// Specifies the data is an M3U playlist.
            /// </summary>
            public const string M3u = "audio/x-mpegurl";
        }

        /// <summary>
        /// Specifies the type of text in an HTTP response.
        /// </summary>
        public static class Text
        {
            /// <summary>
            /// Specifies the text data is in HTML format.
            /// </summary>
            public const string Html = "text/html";
        }
    }
}
